<template>
    <div class="main">
      <div class="nurse">
        <div class="left">
          <h3>{{name}}</h3>
          <p>¥{{show_price}}</p>
          <del>¥{{real_price}}</del>
        </div>
        <div class="right">
          <div class="circle">
            <div></div>
          </div>
          <p>截止日期</p>
          <span>{{endtime}}</span>
        </div>
      </div>
    </div>
</template>

<script>
    export default {
        name: 'main',
        data () {
            return {

            }
        },
        props:['name','real_price','show_price','endtime'],
        mounted(){

        },
        methods: {}
    }
</script>

<style scoped>
  .nurse {
     width: 90%;
     height:1.6rem;
     border-bottom:1px solid #dddddd;
     margin:0 auto;
     padding:.2rem;
     display: flex;
   }
  .nurse .left {
    width: 68%;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    border-right:1px solid #dddddd;
    padding-left:.3rem;
  }
  .nurse .left h3 {
    width: 100%;
    font-size:.5rem;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space:nowrap;
  }
  .nurse .left p {
    font-size:.48rem;
    color: #ff5454;
    margin-top:.2rem;
    vertical-align: bottom;
  }
  .nurse .left del{
    font-size:.36rem;
    color: #999;
    margin-top:.2rem;
    margin-left:.2rem;
  }
  .nurse .right {
    width: 32%;
    display: flex;
    flex-wrap: wrap;
    padding:.2rem .2rem;
    justify-content: center;
    align-items: center;
  }
  .nurse .right .circle {
    width: .4rem;
    height: .4rem;
    border:1px solid #333333;
    background: #d6d6d6;
    border-radius:50%;
    position: relative;
  }
  .nurse .right .circle div {
    width: .16rem;
    height: .16rem;
    border-left:1px solid #333333;
    border-bottom:1px solid #333333;
    position: absolute;
    top:.1rem;
    left:.15rem;
  }
  .nurse .right p {
    margin-left:.2rem;
    font-size:.36rem;
    color: #666;
  }
  .nurse .right span {
    font-size:.4rem;
    color: #333333;
  }
</style>
